package cn.tedu.epidemic.webapi.schedule;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;

//@Component
@Slf4j
public class CacheSchedule {

    @Scheduled(cron = "0 0/10 * * * *")
    public void getNoticeRedis(){
        log.debug("正在执行每10分钟执行任务！");

        log.debug("每10分钟执行任务完成！");
    }
}
